package xyz.jcat.sca.example.lagou.deliver.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import xyz.jcat.common.web.Resp;

@FeignClient(value = "sca-service-resume")
public interface ResumeFeignClient {

    @GetMapping("/resume/user/{userId}/status")
    Resp getUserResumeStatus(@PathVariable("userId") Long userId);

    @GetMapping("/nacos/cluster")
    Resp getClusterName();

}
